package com.hospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hospital.dto.PatientPageQueryDTO;
import com.hospital.entity.Patient;
import com.hospital.vo.PatientListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PatientMapper extends BaseMapper<Patient> {
    IPage<PatientListVO> pageQuery(IPage<PatientListVO> page,@Param("ppdto") PatientPageQueryDTO patientPageQueryDTO);
}
